# RUN: yaml2obj %s -o %t
# RUN: not llvm-objcopy %t no/such/dir 2>&1 | FileCheck %s
# Don't check "No such file" which is OS dependent.
# CHECK: 'no/such/dir':

!ELF
FileHeader:
  Class:           ELFCLASS64
  Data:            ELFDATA2LSB
  Type:            ET_EXEC
  Machine:         EM_X86_64

